/*统一样式*/

/*去掉内外边距*/
* {
    margin: 0;
    padding: 0;
}
/*通栏居中*/
.w{
    width: 1200px;
    margin: auto;
}
li{
    list-style: none;
}
a{
    text-decoration: none;
}
.header{
    height: 41px;
    /*background-color: pink;*/
    margin: 30px auto;
}
.logo {
    float: left;
    height: 41px;
    width: 195px;
}
.nav{
    float: left;
    margin-left: 60px;
}
.nav ul li{
    float: left;
    margin: 0 10px;
}
.nav ul li a {
    display: block;
    height: 41px;
    padding: 0 10px;
    font-size: 18px;
    color: #050505;
    line-height: 41px;
}
.nav ul li a:hover {
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
}

.search {
    float: left;
    width: 412px;
    height: 42px;
    margin-left: 70px;
}
.search input {
    float: left;
    width: 345px;
    height: 40px;
    border: 1px solid #00a4ff;
    border-right: 0;
    color: #bfbfbf;
    font-size: 14px;
    padding-left: 15px;
}
.search button {
    float: left;
    width: 50px;
    height: 42px;
    /* 按钮button默认有个边框需要我们手动去掉 */
    border: 0;
    background: url(images/btn.png);
}
.user {
    vertical-align: center;
    float: right;
    line-height: 42px;
    margin-right: 30px;
    font-size: 14px;
    color: #666;
}